/**
 * 
 */
package org.mspring.platform.web.stat.filter;

import java.util.HashMap;
import java.util.Map;

/**
 * 
 * @author Gao Youbo
 * @since 2013-6-22
 */
public class ServiceContext {
    private static Map<String, Object> context = null;

    public void put(String key, Object value) {
        if (context == null) {
            context = new HashMap<String, Object>();
        }
        context.put(key, value);
    }

    public Object get(String key) {
        return context.get(key);
    }
}
